SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56266: PROC EXPORT returns an error when a user-defined format name exceeds 30 characters

DetailsAboutRate It

The EXPORT procedure returns error messages like the following when you use a user-defined format name that exceeds 30 characters in length:

ERROR 22-322: Expecting a format name.

ERROR 76-322: Syntax error, statement will be ignored.

A user-defined format name can be 31 characters for character format names and 32 characters for numeric format names.

To circumvent the problem, limit the user-defined format name to 30 characters for character formats. This includes the name of the format, the dollar sign ($) to denote a character format name, the number to represent the format width, and the decimal point at the end of the format.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASSolaris for x649.3 TS1M09.4 TS1M5
Linux for x649.3 TS1M09.4 TS1M5
Linux9.3 TS1M09.4 TS1M5
HP-UX IPF9.3 TS1M09.4 TS1M5
64-bit Enabled Solaris9.3 TS1M09.4 TS1M5
64-bit Enabled HP-UX9.3 TS1M09.4 TS1M5
64-bit Enabled AIX9.3 TS1M09.4 TS1M5
Windows Vista for x649.3 TS1M0
Windows Vista9.3 TS1M0
Windows 7 Ultimate x649.3 TS1M09.4 TS1M5
Windows 7 Ultimate 32 bit9.3 TS1M09.4 TS1M5
Windows 7 Professional x649.3 TS1M09.4 TS1M5
Windows 7 Professional 32 bit9.3 TS1M09.4 TS1M5
Windows 7 Home Premium x649.3 TS1M09.4 TS1M5
Windows 7 Home Premium 32 bit9.3 TS1M09.4 TS1M5
Windows 7 Enterprise x649.3 TS1M09.4 TS1M5
Windows 7 Enterprise 32 bit9.3 TS1M09.4 TS1M5
Microsoft Windows XP Professional9.3 TS1M0
Microsoft Windows Server 2008 for x649.3 TS1M0
Microsoft Windows Server 2008 R29.3 TS1M0
Microsoft Windows Server 20089.3 TS1M0
Microsoft Windows Server 2003 for x649.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M0
Microsoft® Windows® for x649.3 TS1M09.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.